package com.forum.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;

import java.util.Date;

/**
 * @ClassName LikeCommentVo
 * @Description TODO
 * @Author suyao
 * @Version 1.0
 */
public class LikeCommentVo {
    private String articleId;
    private String author;
    private Integer authorIdentity;

    @Override
    public String toString() {
        return "LikeCommentVo{" +
                "articleId='" + articleId + '\'' +
                ", author='" + author + '\'' +
                ", authorIdentity=" + authorIdentity +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", postTime=" + postTime +
                ", title='" + title + '\'' +
                ", summary='" + summary + '\'' +
                ", goodCount=" + goodCount +
                ", context='" + context + '\'' +
                '}';
    }

    public Integer getAuthorIdentity() {
        return authorIdentity;
    }

    public void setAuthorIdentity(Integer authorIdentity) {
        this.authorIdentity = authorIdentity;
    }

    private String avatarUrl;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date postTime;
    private String title;
    private String summary;
    private Integer goodCount;
    private String context;

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public LikeCommentVo() {
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Date getPostTime() {
        return postTime;
    }

    public void setPostTime(Date postTime) {
        this.postTime = postTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public Integer getGoodCount() {
        return goodCount;
    }

    public void setGoodCount(Integer goodCount) {
        this.goodCount = goodCount;
    }
}
